package pro.lingwu.station.service;

import pro.lingwu.station.dto.PagesResult;
import pro.lingwu.station.dto.db.Bus;

import java.util.List;

/**
 * @author @lingwu
 * @date created in 11/19/2021
 */
public interface BusService {

    void addBus(Bus bus);

    void rmBus(String busNum);

    PagesResult<Bus> getAllBus(int start, int size);

    void updateBus(Bus bus, String oldBusNum);

    Bus getBusBy(String busNum);

}
